package com.gs.netty.core.resolver;

import com.gs.netty.core.common.AbstractSupport;

/**
 * 异常解析器接口
 * @param <Request>
 * @param <Response>
 */
public interface HandlerExceptionResolver<Request,Response>  extends AbstractSupport{
	/**
	 *
	 * @param request
	 * @param response
	 * @param handler
	 * @param ex
	 * @return
	 */
	void resolveException(Request request, Response response, Object handler, Exception ex);

}
